import os
import pytest
from API_wms.utils.log import *
from API_wms.utils.email import *

if __name__ == '__main__':
    log()
    # pytest.main([r"C:\Users\34098\PycharmProjects\Auto_wms\API_wms\cases\a3mall.py", '-s', '--html=a3mall.html'])

    pytest.main([r"C:\Users\34098\PycharmProjects\Auto_wms\API_wms\cases\a3mall.py",'-s','--alluredir=./temp','--html=a3mall.html'])
    os.system("allure generate temp -o a3mall clean")

    email()